package cn.topevery.garden.dal.dao;

import cn.topevery.garden.entity.po.IotDeviceWaterQualityLog;
import cn.topevery.garden.entity.query.IotDeviceWaterQualityLogQuery;
import cn.topevery.garden.entity.vo.IotDeviceWaterQualityLogVO;
import cn.topevery.garden.framework.base.BaseDao;
import hw.topevery.framework.db.entity.DataPager;

/**
 * 
 *
 * @author code-generate
 * @date 2021-09-26
 */
public interface IotDeviceWaterQualityLogDao extends BaseDao<IotDeviceWaterQualityLog> {

    

    /**
     * 获取列表
     *
     * @param query
     */
    DataPager<IotDeviceWaterQualityLogVO> listPage(IotDeviceWaterQualityLogQuery query);

    IotDeviceWaterQualityLog getEntityByColumn(String key,String value);

    IotDeviceWaterQualityLogVO getLastDayRecordByCode(String code);
}
